package com.web.hilover.mapper;

import com.web.hilover.entity.User;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface UserMapper {
    int insert(User user);
    User findByUsername(String username);
    User findById(Long id);
    List<User> findAll();
    int update(User user);
    int deleteById(Long id);
    int count();
} 